package com.ydl.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ydl.entry.dto.PermissionDto;
import com.ydl.entry.pojo.Role;
import com.ydl.entry.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Auto created by codeAppend plugin
 */

@Service
@Mapper
public interface UserDao extends BaseMapper<User> {

//    @Param("userId")传入参数

    /**
     * WHERE u.user_id = #{userId}
     * userId的参数就是传入的userId
     * @param userId
     * @return
     */



}